package com.atguigu.tingshu.album.service;

import com.atguigu.tingshu.model.album.BaseAttribute;
import com.atguigu.tingshu.model.album.BaseCategory1;
import com.atguigu.tingshu.model.album.BaseCategory3;
import com.atguigu.tingshu.model.album.BaseCategoryView;
import com.atguigu.tingshu.vo.album.AlbumCategoryVo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface BaseCategoryService extends IService<BaseCategory1> {

    // 获取分类数据
    public abstract List<AlbumCategoryVo> getBaseCategoryList();

    // 根据一级分类的id查询专辑的属性和属性值数据
    public abstract List<BaseAttribute> findAttribute(Long category1Id);

    public abstract BaseCategoryView findCategoryByC3Id(Long c3Id);

    public abstract AlbumCategoryVo getBaseCategoryList(Long category1Id);

    public abstract List<BaseCategory3> findTopBaseCategory3(Long category1Id);
}
